package com.hesicare.health.mapper.cgm;

import com.hesicare.cgm.entity.CgmBloodGlucoseDTO;
import com.hesicare.cgm.entity.CgmBloodGlucoseDayDTO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author 55097
 * @create 2021/12/6 14:43
 */
@Component
public interface CgmBloodGlucoseDayMapper {


    /**
     * 新增cgm血糖记录
     *
     * @param cgmBloodGlucoseDayDTO cgm血糖记录
     * @return 结果
     */
    public int insertCgmBloodGlucoseDay(CgmBloodGlucoseDayDTO cgmBloodGlucoseDayDTO);

    int insertBatchCgmBloodGlucoseDay(@Param("list") List<CgmBloodGlucoseDTO> cgmBloodGlucoseDayList);
}
